package cn.skycity.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.skycity.framework.uaa.pojo.entity.SysRole;
import com.skycity.framework.uaa.pojo.entity.SysUserRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {

    List<Long> selectUserIdsByRoleId(Long roleId);

    List<SysRole> selectRoleIdsByUserId(Long userId);
}
